package com.nana.block;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan(basePackages = "com.nana.block.mapper.user")//扫描mybatis哪些包里面的接口
@EnableDiscoveryClient
public class NanaBlockApplication {

    public static void main(String[] args) {
        SpringApplication.run(NanaBlockApplication.class, args);
    }

}
